package com.example.admin.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.admin.R;
import com.example.admin.SQLite.Complaint;
import com.example.admin.bean.EventBean;

public class AdminTab5Listdapter extends BaseQuickAdapter<EventBean, BaseViewHolder> {

    public AdminTab5Listdapter() {
        super(R.layout.item_tab5_list);
    }

    @Override
    protected void convert(BaseViewHolder helper, EventBean str) {
        helper.setText(R.id.tvName, str.name)
                .setText(R.id.tvPhone, str.phone);
        helper.addOnClickListener(R.id.tvDelet);

    }

}